package com.tliaswebmanagement.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

@Aspect
@Component
@Slf4j
public class Aspect1 {
    @Around("execution(* com.tliaswebmanagement.service.impl.*.*(..))")
    public Object recordTime(ProceedingJoinPoint pip) throws Throwable {
        log.info("环绕通知123");
        Object result = pip.proceed();
        return result;
    }


}
